package com.zpark.service;

import com.github.pagehelper.PageInfo;
import com.zpark.entity.Person;

import java.util.List;

/**
 * @PackageName: com.zpark.service
 * @ClassName: IPersonService
 * @Description:
 * @author: RZS
 * @date: 2024/4/30  12:05
 */
public interface IPersonService {

    /**
     * 分页查询
     * @param startPage 起始页码
     * @param num 每页的大小
     * @return
     */
    PageInfo<List<Person>> findLimit(Integer startPage, Integer num);
}
